#include "NetWorkProDefine.h"
#include <pthread.h>

typedef struct 
{
    pthread_t thread_tid;
    long thread_count;
}Thread;
Thread *tptr;

#define     MAXCLI          32


int clifd[MAXCLI], iget, iput;
pthread_mutex_t    clifd_mutex;
pthread_cond_t      clifd_cond;

void* child_make(void* param);
void web_child(int connfd);
void serv(int argc, char** argv);

void thread_make(int i);
void* thread_main(void *arg);
void serv1(int argc, char** argv);